package com.hzqy.persistence.dao.epg;

import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.epg.AcUserBillVo;
import com.hzqy.web.vo.epg.ActivityProductVo;

@Repository
public class AcProductDao extends PersistenceDao<ActivityProductVo, Integer> {

	public ActivityProductVo selectAcProdectByID(int  f_ap_id ) {
		return getSqlSession().selectOne(this.getNamespace()+"selectAcProdectByID",f_ap_id);
	}
	public int updateUserBillStatus(AcUserBillVo aub) {
        return getSqlSession().update(this.getNamespace() + "updateUserBillStatus",aub);
    }
    public int selectByServiceId(String f_aub_serverid) {
        return getSqlSession().selectOne(this.getNamespace() + "selectByServiceId",f_aub_serverid);
    }
}
